package com.xuelang.pipeline.client.pipeline.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author liuyuan.ly
 * @since 2024/6/25 15:07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TriggerPipelineDTO {

    @NotEmpty(message = "流水线编码不能为空")
    private String pipelineCode;
    /**
     * 触发方式，1周期触发2单次触发3手动触发
     */
    private Integer triggerType;
    /**
     * 备注
     */
    private String remark;
}
